home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’93 / sort / Source / Makefile < prev    next >
Encoding:
Makefile  |  1993-06-17  |  2.2 KB  |  78 lines  |  [TEXT/MPS ]

  1. #   File:       MPWSort.make
  2. #   Target:     MPWSort
  3. #   Sources:    acur.c notif.c sort.c sortmain.c sortMenus.c sortWindow.c
  4. #   Created:    Wednesday, October 14, 1992 9:39:23 PM
  5.  
  6. Compile =C
  7. Link =link
  8.  
  9. OBJECTS = ∂
  10.         acur.c.o ∂
  11.         notif.c.o ∂
  12.         sort.c.o ∂
  13.         sortmain.c.o ∂
  14.         sortMenus.c.o ∂
  15.         sortWindow.c.o
  16.  
  17. SORTOBJECTS =  ∂
  18.         bubble.o ∂
  19.         selection.o ∂
  20.         binary_insert.o ∂
  21.         shell.o ∂
  22.         quicker.o ∂
  23.         shakershell.o
  24.  
  25. COPTS =-r -opt full
  26. LOPTS =-opt full -o MPWSort -t APPL -c '????'
  27. LROPTS =-m main -rt SORT=
  28.  
  29. MPWSort ƒƒ {OBJECTS}
  30.     {Link} {LOPTS} {OBJECTS} "{Libraries}"Runtime.o "{Libraries}"Interface.o
  31.     SetFile MPWSort -t 'APPL' -c 'SRTS' -a Bi
  32.  
  33. MPWSort ƒƒ {SORTOBJECTS} sort.r
  34.     Rez sort.r -a -o MPWSort
  35.  
  36. acur.c.o ƒ acur.c acur.h
  37.     {Compile} {COPTS} acur.c -o acur.c.o
  38.  
  39. notif.c.o ƒ notif.c notif.h SortWindow.h
  40.     {Compile} {COPTS} notif.c -o notif.c.o
  41.  
  42. sort.c.o ƒ sort.c sort.h sortWindow.h sortMenus.h notif.h acur.h
  43.     {Compile} {COPTS} sort.c -o sort.c.o
  44.  
  45. sortmain.c.o ƒ sortmain.c sort.h sortWindow.h sortMenus.h notif.h acur.h
  46.     {Compile} {COPTS} sortmain.c -o sortmain.c.o
  47.  
  48. sortMenus.c.o ƒ sortMenus.c sort.h sortWindow.h sortMenus.h notif.h acur.h sortdata.h
  49.     {Compile} {COPTS} sortMenus.c -o sortMenus.c.o
  50.  
  51. sortWindow.c.o ƒ sortWindow.c sort.h sortWindow.h sortMenus.h 
  52.     {Compile} {COPTS} sortWindow.c -o sortWindow.c.o
  53.  
  54. # ---------------- Sorting code resources
  55. bubble.o ƒ bubble.c sortdata.h
  56.     {Compile} {COPTS} bubble.c -o bubble.c.o
  57.     {Link} bubble.c.o {LROPTS}128 -sg bubble -o MPWSort
  58.  
  59. selection.o ƒ selection.c sortdata.h
  60.     {Compile} {COPTS} selection.c -o selection.c.o
  61.     {Link} selection.c.o {LROPTS}129 -sg selection -o MPWSort
  62.  
  63. binary_insert.o ƒ binary_insert.c sortdata.h
  64.     {Compile} {COPTS} selection.c -o binary_insert.c.o
  65.     {Link} binary_insert.c.o {LROPTS}130 -sg "binary insert" -o MPWSort
  66.  
  67. shell.o ƒ shell.c sortdata.h
  68.     {Compile} {COPTS} shell.c -o shell.c.o
  69.     {Link} shell.c.o {LROPTS}131 -sg shell -o MPWSort
  70.  
  71. quicker.o ƒ quicker.c sortdata.h
  72.     {Compile} {COPTS} quicker.c -o quicker.c.o
  73.     {Link} quicker.c.o {LROPTS}132 -sg quicker -o MPWSort
  74.  
  75. shakershell.o ƒ shakershell.c sortdata.h
  76.     {Compile} {COPTS} shakershell.c -o shakershell.c.o
  77.     {Link} shakershell.c.o {LROPTS}133 -sg shakershell -o MPWSort
  78.